package com.whmskj.xjlhsc.jitapi.mapper;

import com.whmskj.xjlhsc.jitapi.dto.CurClsInfoDto;
import com.whmskj.xjlhsc.jitapi.entity.Dict;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface DictMapper {

    List<Dict> getDictByCode(String code);

    List<Dict> all();

    List<Dict> getDictByFdb7(@Param("workshop") Integer workshop);

    List<Dict> getDictAll();

    CurClsInfoDto getCurrentCls(@Param("dateYmd") String dateYmd, @Param("cls") String cls);
}
